package com.qzxy.premiumhotelsystem.domain.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @TableName vip_orders
 */
@TableName(value ="vip_orders")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class VipOrders implements Serializable {

    @TableId(type = IdType.INPUT)
    private String vipOrderId;

    private Integer guestId;

    private Integer vipTypeId;

    private String status;

    private Date purchaseTime;

    private Date payTime;

    @Version
    @JsonIgnore
    private Integer version;

    private static final long serialVersionUID = 1L;
}